package com.manor.main.bean;

import com.manor.common.utils.StringUtil;

public class MyEarningsBean {

    /**
     * money : 0.00
     * credit1 : 1
     * credit2 : 0
     * cash_rate : 20
     * tips :  1、提现到帐T+1，工作日到帐  2、提现起步200糖果且为整数倍  3、嗨券余额，10的整数倍起  4、嗨券提取比例为1：1
     */

    private String money;
    private String credit1;
    private String credit2;
    private String cash_rate;
    private String tips;
    private String daichong_tips;
    private String cash;

    public String getCash() {
        return cash;
    }

    public void setCash(String cash) {
        this.cash = cash;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getCredit1() {
        return credit1;
    }

    public void setCredit1(String credit1) {
        this.credit1 = credit1;
    }

    public String getCredit2() {
        return credit2;
    }

    public void setCredit2(String credit2) {
        this.credit2 = credit2;
    }

    public String getCash_rate() {
        return cash_rate;
    }

    public void setCash_rate(String cash_rate) {
        this.cash_rate = cash_rate;
    }

    public String getDaichong_tips() {
        return daichong_tips;
    }

    public void setDaichong_tips(String daichong_tips) {
        this.daichong_tips = daichong_tips;
    }

    public String getTips() {
        if(StringUtil.isEmpty(tips)){
            return "";
        }
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }
}
